﻿/*
 * Author:xmfdsh 11届网络部--邓世豪
 * DataTime：2014-6-9
 * Copyright © 2014 大学生勤工助学服务队 Powered by xmfdsh & 四小狼工作室.
 * 版权所有，违者必究
 */
using System.Web.Mvc;

namespace QGZX.Logic.OA
{
    public class OAAreaRegistration : AreaRegistration
    {
        /// <summary>
        /// Admin区域
        /// </summary>
        public override string AreaName
        {
            get
            {
                return "OA";
            }
        }

        public override void RegisterArea(AreaRegistrationContext context)
        {
            context.MapRoute(
                "OA_default",
                "OA/{controller}/{action}/{id}",
                new { action = "Index", id = UrlParameter.Optional },
                new string[1] { "QGZX.Logic.OA" }
            );
        }
    }
}
